home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / FPGAWKII.ZIP / PRODUCT.PDS < prev    next >
Text File  |  1995-02-15  |  1KB  |  36 lines

  1. ; This example demonstrates situations
  2. ; where the PLDshell design compiler can
  3. ; and cannot fit a design to the EPX780
  4. ; due to constraints on the number of
  5. ; product terms that a macrocell can
  6. ; access.  Essentially, o1 and o2 are
  7. ; sum-of-products outputs with 8 product
  8. ; terms each.  If they are assigned to
  9. ; adjacent macrocells, the design will
  10. ; not fit because there are not enough
  11. ; product terms to share.  If you move
  12. ; o2 slightly farther from o1, then there
  13. ; are sufficient product terms to share
  14. ; and the design will fit in the EPX780.
  15. ;
  16. ; SET COMPILER OPTIONS TO:
  17. ;  Use Design Pin Assignments, but not
  18. ;               Previous, Abort on no fit
  19.  
  20. CHIP product NFX780_84
  21.  
  22. PIN    a[0:7]  ; eight inputs
  23. PIN 82 o1      ; first output
  24.  
  25. ;second output adjacent to o1
  26. ;PIN 83 o2      ; second output (no fit!)
  27.  
  28. ; second output not adjacent to o1
  29. PIN 84 o2      ; second output (this fits!)
  30.  
  31. EQUATIONS
  32. o1 = a0*a1 + a1*a2 + a2*a3 + a3*a4 +
  33.      a4*a5 + a5*a6 + a6*a7 + a7*a0
  34. o2 = a0*a3 + a1*a4 + a2*a5 + a3*a6 +
  35.      a4*a7 + a5*a0 + a6*a1 + a7*a2
  36.